package com.cndw.kungfu.vo.goodsvo;

import com.cndw.kungfu.domain.GoodsMode;

public class GoodsModeVO {
	/**
	 * 物品系统id
	 */
	private int goodsId;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 附属名称
	 */
	private String deputyName;
	/**
	 * 道具类型
	 */
	private int goodTypeId;
	/**
	 * 职业id
	 */
	private int vocationId;
	/**
	 * 最大堆叠
	 */
	private int maxStack;
	/**
	 * 图标
	 */
	private String icon;
	/**
	 * 等级要求
	 */
	private int playerLevel;
	/**
	 * 颜色
	 */
	private int color;
	/**
	 * 需要金
	 */
	private int gold;
	/**
	 * vip积分价格
	 */
	private int vipScore;
	/**
	 * 铜币
	 */
	private int asset;
	/**
	 * npc回收价格
	 */
	private int npcRecover;
	/**
	 * 支付方式
	 */
	private int paytype;
	/**
	 * 绑定方式 0=>'不绑定', 1=>'拾取绑定', 2=>'装备绑定', 3=>'改造绑定'
	 */
	private int bindType;

	/**
	 * 是否可以使用
	 */
	private boolean useEnable;
	/**
	 * 是否可以赠送
	 */
	private boolean giftEnable;
	
	private int appId;

	/**
	 * buff属性a
	 */
	private int valueA;
	/**
	 * buff属性b
	 */
	private int valueB;
	/**
	 * 冷却时间
	 */
	private int coolingTime;
	/**
	 * 物品描述
	 */
	private String goodDesc;
	/**
	 * 使用效果
	 */
	private String goodEffect;
	
	public GoodsModeVO(){
		
	}

	public GoodsModeVO(GoodsMode goodsMode) {

		goodsId = goodsMode.getGoodsId();
		name = goodsMode.getName();
		deputyName = goodsMode.getDeputyName();
		goodTypeId = goodsMode.getGoodTypeId();
		vocationId = goodsMode.getVocationId();
		maxStack = goodsMode.getMaxStack();
		icon = goodsMode.getIcon();
		playerLevel = goodsMode.getPlayerLevel();
		color = goodsMode.getColor();
		gold = goodsMode.getGold();
		vipScore = goodsMode.getVipScore();
		asset = goodsMode.getAsset();
		npcRecover = goodsMode.getNpcRecover();

		useEnable = goodsMode.isUseEnable();
		giftEnable = goodsMode.isGiftEnable();

		paytype = goodsMode.getPaytype();
		bindType = goodsMode.getBindType();
		
		appId = goodsMode.getAppId();
		valueA = goodsMode.getValueA();
		valueB = goodsMode.getValueB();
		coolingTime = goodsMode.getCoolingTime();
		goodDesc = goodsMode.getGoodDesc();
		goodEffect = goodsMode.getGoodEffect();

	}

	public int getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDeputyName() {
		return deputyName;
	}

	public void setDeputyName(String deputyName) {
		this.deputyName = deputyName;
	}

	public int getGoodTypeId() {
		return goodTypeId;
	}

	public void setGoodTypeId(int goodTypeId) {
		this.goodTypeId = goodTypeId;
	}

	public int getVocationId() {
		return vocationId;
	}

	public void setVocationId(int vocationId) {
		this.vocationId = vocationId;
	}

	public int getMaxStack() {
		return maxStack;
	}

	public void setMaxStack(int maxStack) {
		this.maxStack = maxStack;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public int getPlayerLevel() {
		return playerLevel;
	}

	public void setPlayerLevel(int playerLevel) {
		this.playerLevel = playerLevel;
	}

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public int getGold() {
		return gold;
	}

	public void setGold(int gold) {
		this.gold = gold;
	}

	public int getVipScore() {
		return vipScore;
	}

	public void setVipScore(int vipScore) {
		this.vipScore = vipScore;
	}

	public int getAsset() {
		return asset;
	}

	public void setAsset(int asset) {
		this.asset = asset;
	}

	public int getNpcRecover() {
		return npcRecover;
	}

	public void setNpcRecover(int npcRecover) {
		this.npcRecover = npcRecover;
	}

	public int getPaytype() {
		return paytype;
	}

	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}

	public int getBindType() {
		return bindType;
	}

	public void setBindType(int bindType) {
		this.bindType = bindType;
	}

	public int getCoolingTime() {
		return coolingTime;
	}

	public void setCoolingTime(int coolingTime) {
		this.coolingTime = coolingTime;
	}

	public String getGoodDesc() {
		return goodDesc;
	}

	public void setGoodDesc(String goodDesc) {
		this.goodDesc = goodDesc;
	}

	public String getGoodEffect() {
		return goodEffect;
	}

	public void setGoodEffect(String goodEffect) {
		this.goodEffect = goodEffect;
	}

	public int getValueA() {
		return valueA;
	}

	public void setValueA(int valueA) {
		this.valueA = valueA;
	}

	public int getValueB() {
		return valueB;
	}

	public void setValueB(int valueB) {
		this.valueB = valueB;
	}

	public boolean isUseEnable() {
		return useEnable;
	}

	public boolean isGiftEnable() {
		return giftEnable;
	}

	public void setUseEnable(boolean useEnable) {
		this.useEnable = useEnable;
	}

	public void setGiftEnable(boolean giftEnable) {
		this.giftEnable = giftEnable;
	}

	public int getAppId() {
		return appId;
	}

	public void setAppId(int appId) {
		this.appId = appId;
	}

}
